package com.ufgov.pdf.entity;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * 标题
 * 
 * @author Administrator
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder = { "text" })
public class Title {

	/**
	 * 文本内容
	 */
	@XmlElement(name = "text", required = true)
	private String text;

	/**
	 * 横向对齐方式
	 */
	@XmlAttribute(name = "align")
	private String align;

	/**
	 * 竖向对齐方式
	 */
	@XmlAttribute(name = "v-align")
	private String vAlign;

	/**
	 * 字体
	 */
	@XmlAttribute(name = "font-family")
	private String fontFamily;

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getAlign() {
		return align;
	}

	public void setAlign(String align) {
		this.align = align;
	}

	public String getvAlign() {
		return vAlign;
	}

	public void setvAlign(String vAlign) {
		this.vAlign = vAlign;
	}

	public String getFontFamily() {
		return fontFamily;
	}

	public void setFontFamily(String fontFamily) {
		this.fontFamily = fontFamily;
	}

}
